package base.string;

import framework.AbstractTest;
import utils.Log;

import java.io.*;
import java.lang.reflect.Constructor;

/**
 * Created by shane on 2018/7/11.
 */
public class StringOp extends AbstractTest implements Serializable, Cloneable {

    private static final String TAG = StringOp.class.getName();
    private static final long serialVersionUID = 4345295815809037360L;

    String name;

    @Override
    public String toString() {
        return "name:" + name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void test(String[] args) {
        super.test(args);

        // 1
        String obj = "中国_浙江_杭州_西湖";
        String[] regions = obj.split("_", 3);
        Log.vn(regions);
        try {


        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Override
    protected String getTag() {
        return TAG;
    }
}
